package com.moli.lumpSugar.user;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import javax.annotation.PostConstruct;

/**
 * @author zhangjt
 * @date 2021/05/27
 */
@EnableDiscoveryClient
@MapperScan({"com.moli.lumpSugar.user.**.mapper"})
@SpringBootApplication(scanBasePackages = "com.moli.lumpSugar.**")
@EnableFeignClients(basePackages = "com.moli.lumpSugar.api.**")
public class LumpSugarUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(LumpSugarUserApplication.class,args);
    }

}